package com.tudouji.project.mt.http.response;

import com.google.gson.annotations.SerializedName;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class PoiStockInListResponse {
    @SerializedName("items")
    private ArrayList<WhinList> items;


    @Data
    public class WhinList {


        /**
         * item : {"rootOrgId":2140423,"itemSn":"PSRK2402190003","bizTime":1708272001000,"org":{"orgId":2141591,"rootOrgId":2140423,"code":"MD00001","name":"Potato Sets（凯德大峡谷店）"},"belongOrg":{"orgId":2141591,"rootOrgId":2140423,"code":"MD00001","name":"Potato Sets（凯德大峡谷店）"},"oppositeOrg":{"type":{"id":2,"name":"组织机构"},"code":"PS00001","name":"配送中心"},"status":{"id":2,"name":"已审核"},"remark":"","type":{"id":3,"name":"配送收货入库"},"sourceSn":"SH2402050001","createdTime":1708316055755,"stockMoney":"121.00","money":"121.00","tax":"0.00","noTaxMoney":"121.00","modifyTime":1708316055755,"version":1}
         * details : [{"id":"dp5eeXPUtw83bxGSp8EKHw==","seqId":1,"warehouse":{"id":"i+aBvS2g3L/W/7vODbatpw==","code":"MDCK01","name":"默认仓库"},"goods":{"id":"S0W9dqcOrnadhyU+cvB2OA==","code":"ZBWP0525","name":"酸奶冰淇淋粉","category":{"id":"zN5PYX4v/rUivF0/pbRXIA==","code":"ZBLB001","name":"食材"},"spec":"一箱*12包 慧冠（1kg）","baseUnit":{"id":"KfI2u12bO+Aoq5Mn0ht/vg==","code":"ZBDW006","name":"克"},"units":[{"id":"KfI2u12bO+Aoq5Mn0ht/vg==","code":"ZBDW006","name":"克"},{"id":"9AgZB25gnwiqkNuECFuU6Q==","code":"ZBDW008","name":"箱"},{"id":"0zY3MbDIFBuDD1U5N8GaDQ==","code":"ZBDW005","name":"包"}],"version":3001},"baseUnit":"克","bizUnit":"包","amount":"5000","price":"0.024","money":"121.00","taxRate":"0","noTaxPrice":"0.024","noTaxMoney":"121.00","tax":"0.00","stockPrice":"0.024","stockMoney":"121.00","bizUnitAmount":"5","bizUnitPrice":"24.2","bizUnitNoTaxPrice":"24.2","bizUnitStockPrice":"24.2","batchNum":"202401220203","productionDate":1705852800000,"expirationDate":1752508800000,"shelfLife":540,"remark":"","uniqueId":"a5b8ce62ca624cb0af19f02f40f2597a"}]
         */

        private ItemBean item;
        private List<DetailsBean> details;

        public ItemBean getItem() {
            return item;
        }

        public void setItem(ItemBean item) {
            this.item = item;
        }

        public List<DetailsBean> getDetails() {
            return details;
        }

        public void setDetails(List<DetailsBean> details) {
            this.details = details;
        }

        public  class ItemBean {
            /**
             * rootOrgId : 2140423
             * itemSn : PSRK2402190003
             * bizTime : 1708272001000
             * org : {"orgId":2141591,"rootOrgId":2140423,"code":"MD00001","name":"Potato Sets（凯德大峡谷店）"}
             * belongOrg : {"orgId":2141591,"rootOrgId":2140423,"code":"MD00001","name":"Potato Sets（凯德大峡谷店）"}
             * oppositeOrg : {"type":{"id":2,"name":"组织机构"},"code":"PS00001","name":"配送中心"}
             * status : {"id":2,"name":"已审核"}
             * remark : 
             * type : {"id":3,"name":"配送收货入库"}
             * sourceSn : SH2402050001
             * createdTime : 1708316055755
             * stockMoney : 121.00
             * money : 121.00
             * tax : 0.00
             * noTaxMoney : 121.00
             * modifyTime : 1708316055755
             * version : 1
             */

            private int rootOrgId;
            private String itemSn;
            private long bizTime;
            private OrgBean org;
            private BelongOrgBean belongOrg;
            private OppositeOrgBean oppositeOrg;
            private StatusBean status;
            private String remark;
            private TypeBeanX type;
            private String sourceSn;
            private long createdTime;
            private String stockMoney;
            private String money;
            private String tax;
            private String noTaxMoney;
            private long modifyTime;
            private int version;

            public int getRootOrgId() {
                return rootOrgId;
            }

            public void setRootOrgId(int rootOrgId) {
                this.rootOrgId = rootOrgId;
            }

            public String getItemSn() {
                return itemSn;
            }

            public void setItemSn(String itemSn) {
                this.itemSn = itemSn;
            }

            public long getBizTime() {
                return bizTime;
            }

            public void setBizTime(long bizTime) {
                this.bizTime = bizTime;
            }

            public OrgBean getOrg() {
                return org;
            }

            public void setOrg(OrgBean org) {
                this.org = org;
            }

            public BelongOrgBean getBelongOrg() {
                return belongOrg;
            }

            public void setBelongOrg(BelongOrgBean belongOrg) {
                this.belongOrg = belongOrg;
            }

            public OppositeOrgBean getOppositeOrg() {
                return oppositeOrg;
            }

            public void setOppositeOrg(OppositeOrgBean oppositeOrg) {
                this.oppositeOrg = oppositeOrg;
            }

            public StatusBean getStatus() {
                return status;
            }

            public void setStatus(StatusBean status) {
                this.status = status;
            }

            public String getRemark() {
                return remark;
            }

            public void setRemark(String remark) {
                this.remark = remark;
            }

            public TypeBeanX getType() {
                return type;
            }

            public void setType(TypeBeanX type) {
                this.type = type;
            }

            public String getSourceSn() {
                return sourceSn;
            }

            public void setSourceSn(String sourceSn) {
                this.sourceSn = sourceSn;
            }

            public long getCreatedTime() {
                return createdTime;
            }

            public void setCreatedTime(long createdTime) {
                this.createdTime = createdTime;
            }

            public String getStockMoney() {
                return stockMoney;
            }

            public void setStockMoney(String stockMoney) {
                this.stockMoney = stockMoney;
            }

            public String getMoney() {
                return money;
            }

            public void setMoney(String money) {
                this.money = money;
            }

            public String getTax() {
                return tax;
            }

            public void setTax(String tax) {
                this.tax = tax;
            }

            public String getNoTaxMoney() {
                return noTaxMoney;
            }

            public void setNoTaxMoney(String noTaxMoney) {
                this.noTaxMoney = noTaxMoney;
            }

            public long getModifyTime() {
                return modifyTime;
            }

            public void setModifyTime(long modifyTime) {
                this.modifyTime = modifyTime;
            }

            public int getVersion() {
                return version;
            }

            public void setVersion(int version) {
                this.version = version;
            }

            public  class OrgBean {
                /**
                 * orgId : 2141591
                 * rootOrgId : 2140423
                 * code : MD00001
                 * name : Potato Sets（凯德大峡谷店）
                 */

                private int orgId;
                private int rootOrgId;
                private String code;
                private String name;

                public int getOrgId() {
                    return orgId;
                }

                public void setOrgId(int orgId) {
                    this.orgId = orgId;
                }

                public int getRootOrgId() {
                    return rootOrgId;
                }

                public void setRootOrgId(int rootOrgId) {
                    this.rootOrgId = rootOrgId;
                }

                public String getCode() {
                    return code;
                }

                public void setCode(String code) {
                    this.code = code;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }
            }

            public  class BelongOrgBean {
                /**
                 * orgId : 2141591
                 * rootOrgId : 2140423
                 * code : MD00001
                 * name : Potato Sets（凯德大峡谷店）
                 */

                private int orgId;
                private int rootOrgId;
                private String code;
                private String name;

                public int getOrgId() {
                    return orgId;
                }

                public void setOrgId(int orgId) {
                    this.orgId = orgId;
                }

                public int getRootOrgId() {
                    return rootOrgId;
                }

                public void setRootOrgId(int rootOrgId) {
                    this.rootOrgId = rootOrgId;
                }

                public String getCode() {
                    return code;
                }

                public void setCode(String code) {
                    this.code = code;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }
            }

            public  class OppositeOrgBean {
                /**
                 * type : {"id":2,"name":"组织机构"}
                 * code : PS00001
                 * name : 配送中心
                 */

                private TypeBean type;
                private String code;
                private String name;

                public TypeBean getType() {
                    return type;
                }

                public void setType(TypeBean type) {
                    this.type = type;
                }

                public String getCode() {
                    return code;
                }

                public void setCode(String code) {
                    this.code = code;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public  class TypeBean {
                    /**
                     * id : 2
                     * name : 组织机构
                     */

                    private int id;
                    private String name;

                    public int getId() {
                        return id;
                    }

                    public void setId(int id) {
                        this.id = id;
                    }

                    public String getName() {
                        return name;
                    }

                    public void setName(String name) {
                        this.name = name;
                    }
                }
            }

            public  class StatusBean {
                /**
                 * id : 2
                 * name : 已审核
                 */

                private int id;
                private String name;

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }
            }

            public  class TypeBeanX {
                /**
                 * id : 3
                 * name : 配送收货入库
                 */

                private int id;
                private String name;

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }
            }
        }

        public  class DetailsBean {
            /**
             * id : dp5eeXPUtw83bxGSp8EKHw==
             * seqId : 1
             * warehouse : {"id":"i+aBvS2g3L/W/7vODbatpw==","code":"MDCK01","name":"默认仓库"}
             * goods : {"id":"S0W9dqcOrnadhyU+cvB2OA==","code":"ZBWP0525","name":"酸奶冰淇淋粉","category":{"id":"zN5PYX4v/rUivF0/pbRXIA==","code":"ZBLB001","name":"食材"},"spec":"一箱*12包 慧冠（1kg）","baseUnit":{"id":"KfI2u12bO+Aoq5Mn0ht/vg==","code":"ZBDW006","name":"克"},"units":[{"id":"KfI2u12bO+Aoq5Mn0ht/vg==","code":"ZBDW006","name":"克"},{"id":"9AgZB25gnwiqkNuECFuU6Q==","code":"ZBDW008","name":"箱"},{"id":"0zY3MbDIFBuDD1U5N8GaDQ==","code":"ZBDW005","name":"包"}],"version":3001}
             * baseUnit : 克
             * bizUnit : 包
             * amount : 5000
             * price : 0.024
             * money : 121.00
             * taxRate : 0
             * noTaxPrice : 0.024
             * noTaxMoney : 121.00
             * tax : 0.00
             * stockPrice : 0.024
             * stockMoney : 121.00
             * bizUnitAmount : 5
             * bizUnitPrice : 24.2
             * bizUnitNoTaxPrice : 24.2
             * bizUnitStockPrice : 24.2
             * batchNum : 202401220203
             * productionDate : 1705852800000
             * expirationDate : 1752508800000
             * shelfLife : 540
             * remark : 
             * uniqueId : a5b8ce62ca624cb0af19f02f40f2597a
             */

            private String id;
            private int seqId;
            private WarehouseBean warehouse;
            private GoodsBean goods;
            private String baseUnit;
            private String bizUnit;
            private String amount;
            private String price;
            private String money;
            private String taxRate;
            private String noTaxPrice;
            private String noTaxMoney;
            private String tax;
            private String stockPrice;
            private String stockMoney;
            private String bizUnitAmount;
            private String bizUnitPrice;
            private String bizUnitNoTaxPrice;
            private String bizUnitStockPrice;
            private String batchNum;
            private long productionDate;
            private long expirationDate;
            private int shelfLife;
            private String remark;
            private String uniqueId;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public int getSeqId() {
                return seqId;
            }

            public void setSeqId(int seqId) {
                this.seqId = seqId;
            }

            public WarehouseBean getWarehouse() {
                return warehouse;
            }

            public void setWarehouse(WarehouseBean warehouse) {
                this.warehouse = warehouse;
            }

            public GoodsBean getGoods() {
                return goods;
            }

            public void setGoods(GoodsBean goods) {
                this.goods = goods;
            }

            public String getBaseUnit() {
                return baseUnit;
            }

            public void setBaseUnit(String baseUnit) {
                this.baseUnit = baseUnit;
            }

            public String getBizUnit() {
                return bizUnit;
            }

            public void setBizUnit(String bizUnit) {
                this.bizUnit = bizUnit;
            }

            public String getAmount() {
                return amount;
            }

            public void setAmount(String amount) {
                this.amount = amount;
            }

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public String getMoney() {
                return money;
            }

            public void setMoney(String money) {
                this.money = money;
            }

            public String getTaxRate() {
                return taxRate;
            }

            public void setTaxRate(String taxRate) {
                this.taxRate = taxRate;
            }

            public String getNoTaxPrice() {
                return noTaxPrice;
            }

            public void setNoTaxPrice(String noTaxPrice) {
                this.noTaxPrice = noTaxPrice;
            }

            public String getNoTaxMoney() {
                return noTaxMoney;
            }

            public void setNoTaxMoney(String noTaxMoney) {
                this.noTaxMoney = noTaxMoney;
            }

            public String getTax() {
                return tax;
            }

            public void setTax(String tax) {
                this.tax = tax;
            }

            public String getStockPrice() {
                return stockPrice;
            }

            public void setStockPrice(String stockPrice) {
                this.stockPrice = stockPrice;
            }

            public String getStockMoney() {
                return stockMoney;
            }

            public void setStockMoney(String stockMoney) {
                this.stockMoney = stockMoney;
            }

            public String getBizUnitAmount() {
                return bizUnitAmount;
            }

            public void setBizUnitAmount(String bizUnitAmount) {
                this.bizUnitAmount = bizUnitAmount;
            }

            public String getBizUnitPrice() {
                return bizUnitPrice;
            }

            public void setBizUnitPrice(String bizUnitPrice) {
                this.bizUnitPrice = bizUnitPrice;
            }

            public String getBizUnitNoTaxPrice() {
                return bizUnitNoTaxPrice;
            }

            public void setBizUnitNoTaxPrice(String bizUnitNoTaxPrice) {
                this.bizUnitNoTaxPrice = bizUnitNoTaxPrice;
            }

            public String getBizUnitStockPrice() {
                return bizUnitStockPrice;
            }

            public void setBizUnitStockPrice(String bizUnitStockPrice) {
                this.bizUnitStockPrice = bizUnitStockPrice;
            }

            public String getBatchNum() {
                return batchNum;
            }

            public void setBatchNum(String batchNum) {
                this.batchNum = batchNum;
            }

            public long getProductionDate() {
                return productionDate;
            }

            public void setProductionDate(long productionDate) {
                this.productionDate = productionDate;
            }

            public long getExpirationDate() {
                return expirationDate;
            }

            public void setExpirationDate(long expirationDate) {
                this.expirationDate = expirationDate;
            }

            public int getShelfLife() {
                return shelfLife;
            }

            public void setShelfLife(int shelfLife) {
                this.shelfLife = shelfLife;
            }

            public String getRemark() {
                return remark;
            }

            public void setRemark(String remark) {
                this.remark = remark;
            }

            public String getUniqueId() {
                return uniqueId;
            }

            public void setUniqueId(String uniqueId) {
                this.uniqueId = uniqueId;
            }

            public  class WarehouseBean {
                /**
                 * id : i+aBvS2g3L/W/7vODbatpw==
                 * code : MDCK01
                 * name : 默认仓库
                 */

                private String id;
                private String code;
                private String name;

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getCode() {
                    return code;
                }

                public void setCode(String code) {
                    this.code = code;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }
            }

            public  class GoodsBean {
                /**
                 * id : S0W9dqcOrnadhyU+cvB2OA==
                 * code : ZBWP0525
                 * name : 酸奶冰淇淋粉
                 * category : {"id":"zN5PYX4v/rUivF0/pbRXIA==","code":"ZBLB001","name":"食材"}
                 * spec : 一箱*12包 慧冠（1kg）
                 * baseUnit : {"id":"KfI2u12bO+Aoq5Mn0ht/vg==","code":"ZBDW006","name":"克"}
                 * units : [{"id":"KfI2u12bO+Aoq5Mn0ht/vg==","code":"ZBDW006","name":"克"},{"id":"9AgZB25gnwiqkNuECFuU6Q==","code":"ZBDW008","name":"箱"},{"id":"0zY3MbDIFBuDD1U5N8GaDQ==","code":"ZBDW005","name":"包"}]
                 * version : 3001
                 */

                private String id;
                private String code;
                private String name;
                private CategoryBean category;
                private String spec;
                private BaseUnitBean baseUnit;
                private int version;
                private List<UnitsBean> units;

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getCode() {
                    return code;
                }

                public void setCode(String code) {
                    this.code = code;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public CategoryBean getCategory() {
                    return category;
                }

                public void setCategory(CategoryBean category) {
                    this.category = category;
                }

                public String getSpec() {
                    return spec;
                }

                public void setSpec(String spec) {
                    this.spec = spec;
                }

                public BaseUnitBean getBaseUnit() {
                    return baseUnit;
                }

                public void setBaseUnit(BaseUnitBean baseUnit) {
                    this.baseUnit = baseUnit;
                }

                public int getVersion() {
                    return version;
                }

                public void setVersion(int version) {
                    this.version = version;
                }

                public List<UnitsBean> getUnits() {
                    return units;
                }

                public void setUnits(List<UnitsBean> units) {
                    this.units = units;
                }

                public  class CategoryBean {
                    /**
                     * id : zN5PYX4v/rUivF0/pbRXIA==
                     * code : ZBLB001
                     * name : 食材
                     */

                    private String id;
                    private String code;
                    private String name;

                    public String getId() {
                        return id;
                    }

                    public void setId(String id) {
                        this.id = id;
                    }

                    public String getCode() {
                        return code;
                    }

                    public void setCode(String code) {
                        this.code = code;
                    }

                    public String getName() {
                        return name;
                    }

                    public void setName(String name) {
                        this.name = name;
                    }
                }

                public  class BaseUnitBean {
                    /**
                     * id : KfI2u12bO+Aoq5Mn0ht/vg==
                     * code : ZBDW006
                     * name : 克
                     */

                    private String id;
                    private String code;
                    private String name;

                    public String getId() {
                        return id;
                    }

                    public void setId(String id) {
                        this.id = id;
                    }

                    public String getCode() {
                        return code;
                    }

                    public void setCode(String code) {
                        this.code = code;
                    }

                    public String getName() {
                        return name;
                    }

                    public void setName(String name) {
                        this.name = name;
                    }
                }

                public  class UnitsBean {
                    /**
                     * id : KfI2u12bO+Aoq5Mn0ht/vg==
                     * code : ZBDW006
                     * name : 克
                     */

                    private String id;
                    private String code;
                    private String name;

                    public String getId() {
                        return id;
                    }

                    public void setId(String id) {
                        this.id = id;
                    }

                    public String getCode() {
                        return code;
                    }

                    public void setCode(String code) {
                        this.code = code;
                    }

                    public String getName() {
                        return name;
                    }

                    public void setName(String name) {
                        this.name = name;
                    }
                }
            }
        }
    }
}
